package cn.ipokerface.api.model;

import cn.ipokerface.api.Method;
import cn.ipokerface.api.ResponseType;

import java.util.List;

/**
 * Created by       PokerFace
 * Create Date      2019-12-11.
 * Email:           <a href="mailto:214888341@163.com">214888341@163.com</a>
 * Version          1.0.0
 * <p>
 * Description:
 */
public class SmartApi {

    private String name;

    private String url;

    private int group;

    private Method[] method;

    private ResponseType response;

    private List<Header> headerList;

    private List<Parameter> parameterList;

    private List<Response> responseList;

    public SmartApi() {
    }

    public SmartApi(String name, String url, int group, Method[] method, ResponseType response) {
        this.name = name;
        this.url = url;
        this.group = group;
        this.method = method;
        this.response = response;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getGroup() {
        return group;
    }

    public void setGroup(int group) {
        this.group = group;
    }

    public Method[] getMethod() {
        return method;
    }

    public void setMethod(Method[] method) {
        this.method = method;
    }

    public ResponseType getResponse() {
        return response;
    }

    public void setResponse(ResponseType response) {
        this.response = response;
    }

    public List<Header> getHeaderList() {
        return headerList;
    }

    public void setHeaderList(List<Header> headerList) {
        this.headerList = headerList;
    }

    public List<Parameter> getParameterList() {
        return parameterList;
    }

    public void setParameterList(List<Parameter> parameterList) {
        this.parameterList = parameterList;
    }

    public List<Response> getResponseList() {
        return responseList;
    }

    public void setResponseList(List<Response> responseList) {
        this.responseList = responseList;
    }
}
